import Home from '@pages/home/index.vue'
import NotFound from '@pages/404.vue'
import GameLib from '@pages/game-library/index.vue'
import GameDetail from '@pages/game-detail/index.vue'
import MessageList from '@pages/message/index.vue'

import ArticleDetail from '@pages/article-detail/index.vue'
import TopicDiscussion from '@pages/topic-discussion/index.vue'

import ProfilePage from '@pages/profile/index.vue'
import PublishPage from '@pages/publish/index.vue'
import PublishHome from '@pages/publish/home.vue'

const routes = [
    { path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound },
    { path: '/', component: Home },
    { path: '/gameLib',name:'GameLib',component: GameLib },
    { path: '/gameDetail',name:'GameDetail',component: GameDetail },
    { path: '/message',name:'Message',component: MessageList },
    { path: '/articleDetail',name:'ArticleDetail',component: ArticleDetail },
    { path: '/topicDiscussion',name:'TopicDiscussion',component: TopicDiscussion },
    { path: '/profile',name:'Profile',component: ProfilePage },
    { path: '/publish',name:'Publish',component: PublishPage },
    { path: '/publish-home',name:'PublishHome',component: PublishHome }
]
export default routes
